package com.jyw.business.obstacles.domain.dto.web;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jyw.common.core.page.BasePage;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author w_q
 * @date 2023/8/1416:53
 * @Description:
 */
@Data
@ApiModel("分页查询通话记录入参DTO")
public class CallRecordPageDto extends BasePage {

    @ApiModelProperty(value = "电话号码/工单号")
    private String keywords;

    @ApiModelProperty("开始时间(yyyy-MM-dd HH:mm)")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    @ApiModelProperty("结束时间(yyyy-MM-dd HH:mm)")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    @ApiModelProperty(value = "处置类型")
    private String dealType;

    @ApiModelProperty("电话类型：0已接，1呼出，2未接")
    private Integer type;

    @ApiModelProperty(value = "坐席人id")
    private Long reception;


}
